<script setup>
import { reactive, ref, watch ,defineProps, VueElement,defineExpose,inject} from 'vue';
const data = inject('data-key')
const fun=inject('function')
const emit = defineEmits(["add"])
function go()
{
    emit("add")
}
</script>
<template>
{{ data }}
<button @click="go">add</button>
</template>
<style scoped>


</style>